home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.02 Feb 90 / Bit Mapper Source / BTMP2 / BitMapper∏.rsrc / BitMapper∏.rsrc.rsrc / TEXT_16000_about.txt < prev    next >
Encoding:
Text File  |  1989-11-19  |  2.1 KB  |  17 lines

  1. ¬†¬†BitMapper takes ‚Äòsnapshots‚Äô of your active SuperPaint document window and turns them into 'BTMP' or 'BTM#' resources which it places on the clipboard.  It also places a 'PICT' copy of the selection on the clipboard so that you can see what the 'BTMP' or 'BTM#' looks like.
  2. ¬†¬†The 'BTMP' resource type consists of a BitMap data structure followed by a bit image.  The baseAddr field of the saved resource is set to Nil.  The bounds field is set to a rectangle the size of the selection rectangle with its top left corner set to (0,0).  RowBytes is the actual width of the selection (in bytes), rounded up to an even width if necessary.  The actual bit image then follows.
  3. ¬†¬†The 'BTM#' resource type consists of a list of 'BTMP' resources.  It begins with an INTEGER count field indicating how many 'BTMP' entries are in the resource.  Then, each entry consists of an INTEGER szEntry field and a 'BTMP'.  The szEntry field gives the size, in bytes, of the entry.  That is, the size of the 'BTMP' resource for the entry plus two (the size of the INTEGER szEntry field).  This makes it easy to quickly walk through the 'BTM#' to get to the indexed 'BTMP' entry that you are interested in.
  4. ¬†¬†For details on using 'BTMP' and 'BTM#' resources, see Mike Scanlin‚Äôs article in MacTutor magazine.
  5. ¬†¬†Please send comments to: Michael Ogawa, 619-224-3058, 619-721-7000 (Palomar Software), or AppleLink ‚ÄúM.O‚Äù.
  6.  
  7. BitMapper by‚Ķ
  8. ¬†¬†Michael Ogawa
  9. Special thanks to‚Ķ
  10. ¬†¬†Dana Gregory
  11. ¬†¬†Linda McClennan
  12. ¬†¬†Mike Scanlin
  13.  
  14. Copyright ¬© 1989 Michael Ogawa ‚Äî All Rights Reserved.
  15. May not be redistributed for commercial purposes.  May be freely distributed on electronic bulletin boards provided no additional charges above the board‚Äôs standard connect charges are imposed.  May be freely distributed by non-profit organizations on disk provided that any charges for the distribution disk does not exceed actual disk, labelling materials, reproduction, and shipping charges incurred by the organization.
  16. This software is provided ‚Äúas is‚Äù, with no warranties, either express or implied, being made regarding its fitness for any particular purpose.
  17. v2.00